import React, { Component } from 'react'
import {NavLink} from "react-router-dom"

export default class MyNavLink extends Component {
  render() {
    // 子组件，都在props.children中
    return (
      <NavLink activeClassName="atv" className="link-btn" {...this.props}/>
    )
  }
}
